package org.jeecg.modules.storage.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.storage.entity.BussWarehouseInventoryDetail;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 盘点单
 * @Author: jeecg-boot
 * @Date:   2024-08-09
 * @Version: V1.0
 */
@Data
@ApiModel(value="buss_warehouse_inventoryPage对象", description="盘点单")
public class BussWarehouseInventoryPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15,orderNum = "4")
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@Excel(name = "制单日期", width = 15,orderNum = "5",format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@Excel(name = "制单部门", width = 15,orderNum = "6")
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15,orderNum = "0")
	@ApiModelProperty(value = "单据编号")
    private String code;
	/**仓库编号*/
	@Excel(name = "仓库名称", width = 15,orderNum = "1",dicCode = "code",dictTable = "erp_warehouse",dicText = "name")
	@ApiModelProperty(value = "仓库编号")
    private String warehouseCode;
	/**盘点类型*/
	@Excel(name = "盘点类型", width = 15,dicCode = "inventory_type",orderNum = "3")
	@ApiModelProperty(value = "盘点类型")
    private String inventoryType;
	/**盘点年月*/
	@Excel(name = "盘点年月", width = 15,format = "yyyy-MM",orderNum = "2")
	@ApiModelProperty(value = "盘点年月")
    private String inventoryMonth;
	/**备注*/
	@Excel(name = "备注", width = 15,orderNum = "7")
	@ApiModelProperty(value = "备注")
    private String remark;

//	@ExcelCollection(name="盘点明细")
	@ApiModelProperty(value = "盘点明细")
	private List<BussWarehouseInventoryDetail> bussWarehouseInventoryDetailList;

}
